﻿Imports System.ComponentModel
Imports System.Activities.Presentation.Metadata
Imports System.Drawing

Partial Public Class ReadKeyActivityDesigner
    Implements IRegisterMetadata

    Public Sub Register() Implements System.Activities.Presentation.Metadata.IRegisterMetadata.Register

        Dim builder As New AttributeTableBuilder
        builder.AddCustomAttributes(
            GetType(ReadKeyActivity),
           New DesignerAttribute(GetType(ReadKeyActivityDesigner)),
           New DescriptionAttribute("コンソールから入力を受取ります。"),
           New ToolboxBitmapAttribute(GetType(ReadKeyActivity), "console_readkey.png"))

        MetadataStore.AddAttributeTable(builder.CreateTable)

    End Sub

End Class
